package com.stylefeng.guns.modular.system.warpper;

import com.stylefeng.guns.common.constant.state.Status;
import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import java.util.Map;

/**
 *区域设置的返回包装类
 */
public class AreaWarpper extends BaseControllerWarpper {

    public AreaWarpper (Object object){
        super(object);
    }

    @Override
    protected void warpTheMap(Map<String, Object> map) {
        map.put("statusName", Status.valueOf((Integer)map.get("status")));
    }
}
